local M = {}

function M:init_skill()
    return SKILL_D:init_skill_info(self)
end

function M:set_skill_level(skillid, skilllev)
    return self:set("skills", skillid, skilllev)
end

function M:get_skill_level(skillid)
    return self:query("skills", skillid)
end

function M:set_use_skill(skillid)
    return self:set("use_skill", skillid)
end

function M:get_use_skill()
    return self:query("use_skill") or 0
end

function M:change_skill(skillid)
    return SKILL_D:change_skill(self, skillid)
end

function M:improve_skill_level(skillid)
    return SKILL_D:improve_skill_level(self, skillid)
end

function M:unlock_skill(skillid)
    return SKILL_D:unlock_skill(self, skillid)
end

F_CHAR_SKILL = M
